package com.ftg.product.exam.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 班级信息表 Entity定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
* Copyright © ftg
*/
@ApiModel(value = "班级信息表")
@Getter @Setter @Accessors(chain = true)
public class BaseClazz extends BaseCustomEntity {
    private static final long serialVersionUID = 2415398937593634017L;

    /**
    * clazzcode字段的关联字典
    */
    public static final String DICT_CLAZZID = "CLAZZID";

    /**
    * 姓名 
    */
    @ApiModelProperty(value="姓名", example = "")
    @Length(max=100, message="姓名长度应小于100")
    @TableField()
    private String clazzname;

    /**
    * 代码 
    */
    @ApiModelProperty(value="代码", example = "")
    @TableField()
    private Long clazzcode;

    /**
    * 班主任 
    */
    @ApiModelProperty(value="班主任", required = true, example = "1234567890")
    @NotNull(message = "班主任不能为空")
    @TableField()
    private Long teacode;

    /**
    * 所在组织 
    */
    @ApiModelProperty(value="所在组织", required = true, example = "1234567890")
    @NotNull(message = "所在组织不能为空")
    @TableField()
    private Long orgcode;

    /**
    * 具体地址 
    */
    @ApiModelProperty(value="具体地址", example = "")
    @Length(max=100, message="具体地址长度应小于100")
    @TableField()
    private String clazzaddress;

    /**
    * 开课时间 
    */
    @ApiModelProperty(value="开课时间", example = "")
    @Length(max=100, message="开课时间长度应小于100")
    @TableField()
    private String startdate;

    /**
    * 结业时间 
    */
    @ApiModelProperty(value="结业时间", example = "")
    @Length(max=100, message="结业时间长度应小于100")
    @TableField()
    private String enddate;


} 
